public class test {


    public static void main(String[] args) {
        BinaryTree binaryTree = new BinaryTree();
        BinaryTree.BTNode root = binaryTree.createBinaryTree();
        System.out.println(binaryTree.getHeight(root));
        //查找val
        System.out.println(binaryTree.find(root,8) != null ?1:0);
        binaryTree.levelOrder(root);
    }
}
